Optimal. Leaf size=61 \[ -b^{3/2} \tanh ^{-1}\left (\frac{\sqrt{b}}{x \sqrt{a+\frac{b}{x^2}}}\right )+b x \sqrt{a+\frac{b}{x^2}}+\frac{1}{3} x^3 \left (a+\frac{b}{x^2}\right )^{3/2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.101419, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267 \[ -b^{3/2} \tanh ^{-1}\left (\frac{\sqrt{b}}{x \sqrt{a+\frac{b}{x^2}}}\right )+b x \sqrt{a+\frac{b}{x^2}}+\frac{1}{3} x^3 \left (a+\frac{b}{x^2}\right )^{3/2} \]
Antiderivative was successfully verified.
[In] Int[(a + b/x^2)^(3/2)*x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 9.29897, size = 51, normalized size = 0.84 \[ - b^{\frac{3}{2}} \operatorname{atanh}{\left (\frac{\sqrt{b}}{x \sqrt{a + \frac{b}{x^{2}}}} \right )} + b x \sqrt{a + \frac{b}{x^{2}}} + \frac{x^{3} \left (a + \frac{b}{x^{2}}\right )^{\frac{3}{2}}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b/x**2)**(3/2)*x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.102408, size = 85, normalized size = 1.39 \[ \frac{x \sqrt{a+\frac{b}{x^2}} \left (-3 b^{3/2} \log \left (\sqrt{b} \sqrt{a x^2+b}+b\right )+\sqrt{a x^2+b} \left (a x^2+4 b\right )+3 b^{3/2} \log (x)\right )}{3 \sqrt{a x^2+b}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b/x^2)^(3/2)*x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 78, normalized size = 1.3 \[ -{\frac{{x}^{3}}{3} \left ({\frac{a{x}^{2}+b}{{x}^{2}}} \right ) ^{{\frac{3}{2}}} \left ( 3\,{b}^{3/2}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{a{x}^{2}+b}+b}{x}} \right ) - \left ( a{x}^{2}+b \right ) ^{{\frac{3}{2}}}-3\,\sqrt{a{x}^{2}+b}b \right ) \left ( a{x}^{2}+b \right ) ^{-{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b/x^2)^(3/2)*x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)^(3/2)*x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.250717, size = 1, normalized size = 0.02 \[ \left [\frac{1}{2} \, b^{\frac{3}{2}} \log \left (-\frac{a x^{2} - 2 \, \sqrt{b} x \sqrt{\frac{a x^{2} + b}{x^{2}}} + 2 \, b}{x^{2}}\right ) + \frac{1}{3} \,{\left (a x^{3} + 4 \, b x\right )} \sqrt{\frac{a x^{2} + b}{x^{2}}}, -\sqrt{-b} b \arctan \left (\frac{b}{\sqrt{-b} x \sqrt{\frac{a x^{2} + b}{x^{2}}}}\right ) + \frac{1}{3} \,{\left (a x^{3} + 4 \, b x\right )} \sqrt{\frac{a x^{2} + b}{x^{2}}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)^(3/2)*x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 9.73216, size = 78, normalized size = 1.28 \[ \frac{a \sqrt{b} x^{2} \sqrt{\frac{a x^{2}}{b} + 1}}{3} + \frac{4 b^{\frac{3}{2}} \sqrt{\frac{a x^{2}}{b} + 1}}{3} + \frac{b^{\frac{3}{2}} \log{\left (\frac{a x^{2}}{b} \right )}}{2} - b^{\frac{3}{2}} \log{\left (\sqrt{\frac{a x^{2}}{b} + 1} + 1 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b/x**2)**(3/2)*x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.238492, size = 119, normalized size = 1.95 \[ \frac{1}{3} \,{\left (\frac{3 \, b^{2} \arctan \left (\frac{\sqrt{a x^{2} + b}}{\sqrt{-b}}\right )}{\sqrt{-b}} +{\left (a x^{2} + b\right )}^{\frac{3}{2}} + 3 \, \sqrt{a x^{2} + b} b\right )}{\rm sign}\left (x\right ) - \frac{{\left (3 \, b^{2} \arctan \left (\frac{\sqrt{b}}{\sqrt{-b}}\right ) + 4 \, \sqrt{-b} b^{\frac{3}{2}}\right )}{\rm sign}\left (x\right )}{3 \, \sqrt{-b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a + b/x^2)^(3/2)*x^2,x, algorithm="giac")
[Out]